package com.mycompany.app.hr.workflow.jbpm.support;

import java.util.List;

import org.jbpm.graph.def.Transition;
import org.jbpm.graph.exe.ProcessInstance;
import org.jbpm.graph.exe.Token;

public interface JbpmOperations
{

    public abstract ProcessInstance findProcessInstance(Long long1);

    public abstract List findProcessInstances();

    public abstract List findPooledTaskInstances(String s);

    public abstract List findPooledTaskInstances(List list);

    public abstract List findTaskInstances(String s);

    public abstract List findTaskInstances(String as[]);

    public abstract List findTaskInstances(List list);

    public abstract List findTaskInstancesByToken(Token token);

    public abstract List findTaskInstancesByToken(long l);

    public abstract void signal(ProcessInstance processinstance);

    public abstract Long saveProcessInstance(ProcessInstance processinstance);

    public abstract void signal(ProcessInstance processinstance, String s);

    public abstract void signal(ProcessInstance processinstance, Transition transition);
}

